<div class="yiiForm">

<p>
Fields with <span class="required">*</span> are required.
</p>

<?php echo CHtml::beginForm(); ?>

<?php echo CHtml::errorSummary($model); ?>

<div class="simple">
<?php echo CHtml::activeLabelEx($model,'ship'); ?>
<?php echo CHtml::activeTextField($model,'ship',array('size'=>50,'maxlength'=>50)); ?>
</div>
<div class="simple">
<?php echo CHtml::activeLabelEx($model,'uid'); ?>
<?php echo CHtml::activeTextField($model,'uid'); ?>
</div>
<div class="simple">
<?php echo CHtml::activeLabelEx($model,'old_datein'); ?>
<?php echo CHtml::activeTextField($model,'old_datein',array('size'=>20,'maxlength'=>20)); ?>
</div>
<div class="simple">
<?php echo CHtml::activeLabelEx($model,'po'); ?>
<?php echo CHtml::activeTextArea($model,'po',array('rows'=>6, 'cols'=>50)); ?>
</div>
<div class="simple">
<?php echo CHtml::activeLabelEx($model,'invoice'); ?>
<?php echo CHtml::activeTextArea($model,'invoice',array('rows'=>6, 'cols'=>50)); ?>
</div>
<div class="simple">
<?php echo CHtml::activeLabelEx($model,'sdo'); ?>
<?php echo CHtml::activeTextField($model,'sdo',array('size'=>50,'maxlength'=>50)); ?>
</div>
<div class="simple">
<?php echo CHtml::activeLabelEx($model,'con'); ?>
<?php echo CHtml::activeTextField($model,'con',array('size'=>60,'maxlength'=>250)); ?>
</div>
<div class="simple">
<?php echo CHtml::activeLabelEx($model,'conid'); ?>
<?php echo CHtml::activeTextField($model,'conid'); ?>
</div>
<div class="simple">
<?php echo CHtml::activeLabelEx($model,'qty'); ?>
<?php echo CHtml::activeTextField($model,'qty',array('size'=>60,'maxlength'=>60)); ?>
</div>
<div class="simple">
<?php echo CHtml::activeLabelEx($model,'indesc'); ?>
<?php echo CHtml::activeTextArea($model,'indesc',array('rows'=>6, 'cols'=>50)); ?>
</div>
<div class="simple">
<?php echo CHtml::activeLabelEx($model,'cid'); ?>
<?php echo CHtml::activeTextField($model,'cid'); ?>
</div>
<div class="simple">
<?php echo CHtml::activeLabelEx($model,'old_odate'); ?>
<?php echo CHtml::activeTextField($model,'old_odate',array('size'=>60,'maxlength'=>75)); ?>
</div>
<div class="simple">
<?php echo CHtml::activeLabelEx($model,'subcertid'); ?>
<?php echo CHtml::activeTextField($model,'subcertid'); ?>
</div>
<div class="simple">
<?php echo CHtml::activeLabelEx($model,'datein'); ?>
<?php echo CHtml::activeTextField($model,'datein'); ?>
</div>
<div class="simple">
<?php echo CHtml::activeLabelEx($model,'dateout'); ?>
<?php echo CHtml::activeTextField($model,'dateout'); ?>
</div>

<div class="action">
<?php echo CHtml::submitButton($update ? 'Save' : 'Create'); ?>
</div>

<?php echo CHtml::endForm(); ?>

</div><!-- yiiForm -->